package cn.rdq.iknessplatform;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;
import org.springframework.scheduling.annotation.EnableAsync;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

@SpringBootApplication
@MapperScan(basePackages = "cn.rdq.dao")
@ComponentScan(basePackages = {"cn.rdq.common","cn.rdq.dao","cn.rdq.iknessplatform"})
@ServletComponentScan
@EnableAsync
public class IknessPlatformApplication {

    public static void main(String[] args) {
        SpringApplication.run(IknessPlatformApplication.class, args);
    }

}
